package com.whq.thrift.api.web.admin.db.baseconf;

import java.io.Serializable;
import java.util.Date;

public class ModuleInstance implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private int instanceId;
	private String moduleId;
	private String ip;
	private int port;
	private int status;
	private Date createTime;
	private Date updateTime;
	
	public int getInstanceId() {
		return instanceId;
	}
	public void setInstanceId(int instanceId) {
		this.instanceId = instanceId;
	}
	public String getModuleId() {
		return moduleId;
	}
	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public String toString() {
		StringBuilder buf = new StringBuilder(30);
		buf.append("{");
		buf.append(instanceId);
		buf.append("}");
		return buf.toString();
	}

}
